package com.demo.zhihu.data;

import com.demo.zhihu.model.User;
import com.demo.zhihu.model.UserProfile;

public interface UserDao {
	public void register(User user);
	public User getUserByMobile(String mobile);
	public int isMobileDuplicated(String mobile);
	public void setUserQuestions(User user);
	public void setUserAnswers(User user);
	
	public UserProfile getUserProfile(int id);
}
